package com.qf.personal.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.personal.entiy.Things;
import com.qf.personal.entiy.Vo.EmpVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface IndexMapper extends BaseMapper<Things> {
    EmpVo selectById(int id);

    int add(@Param("things") Things things);

    List<Things> selectAll(@Param("things") Things things);

    String selectNameByEId(int eId);

    String selectNameByTId(int tId);

    String selectNameByMId(int mId);

    String selectNameByLId(int lId);

    List<Things> selectThings(@Param("things") Things things);

    int delete(Long id);
}
